class File
	def to_hash
		self.rewind
		head_a 	= self.readline.strip.split("\t")
		x_name 	= head_a.shift
		d_class	= Struct.new(*(head_a.map {|h| h.downcase.to_sym}))
		self.entries.inject({}) do |memo_h, l|
			l_a = l.strip.split("\t")
			memo_h[l_a.shift] = d_class.new(*l_a)
			memo_h
		end
	end
end
